/*
 * Electromagnet.h
 *
 *  Created on: Sep 9, 2016
 *      Author: yzz
 */

#ifndef ELECTROMAGNET_H_
#define ELECTROMAGNET_H_

#include "stm32f4xx_hal.h"
#include "peripherals/peripherals.h"

#define ServoUp			1600
#define SevoDown		1450

void Electromagnet_Close(void);
void Electromagnet_Open(void);

void Servo_Init(void);

void Servo_Up(void);
void Servo_Down(void);

#endif /* ELECTROMAGNET_H_ */
